<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>function</title>
<script type="text/javascript">

	//1.函数声明
	function test01() {
        alert("hello");
    }
    function test02(a,b) {
        return a/b;
    }
    var test03 = function (){
        alert("你好");
    };
	//2.函数调用
    //alert(test02(5,2));
    test03();
	
</script>
</head>
<body>

</body>
</html>